<?php
return [
    // 路由配置
    'URL_ROUTE_RULES'=>[
        // Index controller.
        'login' => ['index/login'],
        'qqlogin' => ['index/qqlogin'],
        'qqlogincallback' => ['index/qqlogincallback'],
        'logout' => ['index/logout'],

        // User controller.
        'u/:uid\d$' => ['user/index'],
        'collect/:uid\d' => ['user/collect'],
        'msg' => ['user/msg'],
        'log' => ['user/log'],
        'setUser$' => ['user/setuser'],
        'createBbs$' => ['user/createbbs'],
        'createDoc$' => ['user/createdoc'],
        'review/:uid\d$' => ['user/review'],
        'review/:uid\d/d/:did\d$' => ['user/review'],
        'review/:uid\d/d/:did/p/:pid\d$' => ['user/review'],

        // Other controller.
        'suggest' => ['other/suggest'],
        'links' => ['other/links'],
        'connect' => ['other/connect'],
        'about' => ['other/about'],
        'donate' => ['other/donate']
    ],
];